package com.hmall.service;

import com.hmall.domain.dto.LoginFormDTO;
import com.hmall.domain.dto.RegisterDTO;
import com.hmall.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.domain.vo.UserLoginVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HBQ
 * @since 2025-10-22
 */
public interface IUserService extends IService<User> {

    /**
     * 登录
     * @param loginFormDTO
     * @return
     */
    UserLoginVO login(LoginFormDTO loginFormDTO);

    /**
     *  注册
     * @param loginFormDTO
     * @return
     */
    Boolean register(RegisterDTO registerDTO);
}
